package com.ink;

import java.awt.Color;

import com.printer.Ink;

/**
 * 褰╄壊澧ㄧ洅銆侰olorInk瀹炵幇Ink鎺ュ彛銆�
 * 
 * @author 鍖楀ぇ闈掗笩
 */
public class ColorInk implements Ink {
	// 鎵撳嵃閲囩敤褰╄壊
	public String getColor(int r, int g, int b) {
		Color color = new Color(r, g, b);
		return "#" + Integer.toHexString(color.getRGB()).substring(2);
	}
}
